home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / gnu / gpp-1_42.lha / g++-1.42.0 / input.h < prev    next >
C/C++ Source or Header  |  1991-10-19  |  546b  |  23 lines

  1. /* Source file current line is coming from.  */
  2. extern char *input_filename;
  3.  
  4. /* Top-level source file.  */
  5. extern char *main_input_filename;
  6.  
  7. /* Line number in current source file.  */
  8. extern int lineno;
  9.  
  10. struct file_stack
  11.   {
  12.     char *name;
  13.     struct file_stack *next;
  14.     int line;
  15.   };
  16.  
  17. /* Stack of currently pending input files.
  18.    The line member is not accurate for the innermost file on the stack.  */
  19. extern struct file_stack *input_file_stack;
  20.  
  21. /* Incremented on each change to input_file_stack.  */
  22. extern int input_file_stack_tick;
  23.